'use strict';

const Controller = require('egg').Controller;

class ClickNoteController extends Controller {
    async clickNote() {
        const { ctx } = this

        let query = ctx.query.id
        const getData = await ctx.service.editNote.echo(query)
        await ctx.render('ClickNote.html', {
            data: getData
        })
    }
}

module.exports = ClickNoteController;
